package com.dm.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dm.server.dto.Result;
import com.dm.server.entity.VoucherOrder;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 虎哥
 * @since 2021-12-22
 */
public interface VoucherOrderService extends IService<VoucherOrder> {

    Result seckillVouche(Long voucherId);

    void createVoucherOrder(VoucherOrder voucherOrder);
    boolean executeOrderTransaction(VoucherOrder voucherOrder);
}

